//
//  XMBaseView.h
//  XinLianWang
//
//  Created by 罗晓明 on 2017/11/13.
//  Copyright © 2017年 Rowling. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum XMBaseViewAnimationMode {
    Default,
    FromLeft,
    FromRight
} XMBaseViewAnimationMode;

@interface XMBaseView : UIView
@property(nonatomic,strong)void(^commonBlock)(id data);

@property(nonatomic,assign)IBInspectable BOOL  closeAnimation;

+(instancetype)fastLogin;

-(void)touchOutRemoveFromSuperView;

@property(nonatomic,assign)XMBaseViewAnimationMode  animationMode;

@property(nonatomic,assign)BOOL  needAutoBottomView ;
/**关闭点击666之外区域自动移除视图*/
@property(nonatomic,assign)BOOL  close666TouchOutSideRemove;

@end

